<ion-header>
  <ion-toolbar color="primary">
      <ion-buttons slot="start">
          <ion-back-button></ion-back-button>
      </ion-buttons>
    <ion-title>修改密码</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
    <ion-content>
            <ion-item>
                    <ion-input [(ngModel)]="oldpwd" placeholder="请输入原密码" type="password" clearInput></ion-input>
            </ion-item>
            <ion-item>
                    <ion-input [(ngModel)]="newpwd" placeholder="请输入新密码" type="password" clearInput></ion-input>
            </ion-item>
            <ion-item>
                    <ion-input [(ngModel)]="confirmpwd" placeholder="请确认新密码" type="password" clearInput></ion-input>
            </ion-item>
      <!-- <ion-item>
            <ion-label color="primary" position="floating" >请输入原密码</ion-label>
            <ion-textarea rows="2" cols="20" [(ngModel)]="oldpwd" type="password"></ion-textarea>
          </ion-item>
          <ion-item>
              <ion-label color="primary" position="floating">请输入新密码</ion-label>
              <ion-textarea rows="2" cols="20" [(ngModel)]="newpwd" type="password"></ion-textarea>
            </ion-item>
            <ion-item>
                <ion-label color="primary" position="floating">请确认新密码</ion-label>
                <ion-textarea rows="2" cols="20" [(ngModel)]="confirmpwd" type="password"></ion-textarea>
              </ion-item>-->
            <ion-button expand="full"  (click)="submit()">提交</ion-button>
    </ion-content>
</ion-content>
